import { Component, OnInit } from '@angular/core';

import { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';
import { RequestReplyService } from 'src/app/services/request-reply.service';

@Component({
  selector: 'app-help',
  templateUrl: './help.component.html',
  styleUrls: ['./help.component.scss']
})
export class HelpComponent implements OnInit {

  iframe: SafeResourceUrl;

  constructor( 
    private requestService: RequestReplyService,
    private sanitizer: DomSanitizer) 
  { 
    const src = this.requestService.GetBaseUrl() + '/tt/help.jsp';
    this.iframe = this.sanitizer.bypassSecurityTrustResourceUrl(src);
  }

  ngOnInit() {


  }

}
